<?php
/**
 * 页面头部部件类
 * @author zengnz
 *
 */
class PublicWidget extends CommonAction
{
	public function head() {
		$urlArr = explode('/', __SELF__);
		$account = $this -> getCustomer();
		
		$this -> assign('url', $urlArr[count($urlArr)-1]);
		$this -> assign('account', $account);
		$this -> display('Public:head');
	}
	
	public function footer() {
		
		$this -> display('Public:footer');
	}
	
	/**
	 * 用户中心上导航菜单
	 */
	public function mainHead() {
		$this -> display('Public:mainhead');
	}
	
	/**
	 * 商铺菜单
	 */
	public function shopMenu() {
		$this -> display('Public:shopmenu');		
	}
	
	/**
	 * 我的商铺菜单
	 */
	public function myShopMenu() {
		$this -> display('Public:myshopmenu');
	}
	
	/**
	 * 内容管理菜单
	 */
	public function contentMenu() {
		$this -> display('Public:contentmenu');
	}
	
	/**
	 * 应用中心菜单
	 */
	public function appMenu() {
		$this -> display('Public:appmenu');
	}
	
	/**
	 * 日志管理菜单
	 */
	public function logMenu() {
		$this -> display('Public:logmenu');
	}
}